@echo off
for /L %%i in (1,1,2) do (
@Rem 点击+号
adb shell input tap 655 100
ping -n 2 127.1 >nul
@Rem 点击发起群聊
adb shell input tap 665 175
ping -n 2 127.1 >nul
@Rem 点击星标好友第一个
adb shell input tap 365 577
ping -n 2 127.1 >nul
@Rem 点击星标好友第二个
adb shell input tap 365 677
ping -n 2 127.1 >nul
@Rem 点击确定
adb shell input tap 655 100
ping -n 2 127.1 >nul
@Rem 点击右上角群属性
adb shell input tap 655 100
ping -n 2 127.1 >nul
@Rem 点击群聊名称
adb shell input tap 355 435
ping -n 2 127.1 >nul
@Rem 输入群名称
adb shell am broadcast -a ADB_INPUT_TEXT --es msg "大家一起来健身1001班，"
ping -n 2 127.1 >nul
@Rem 点击右上角保存
adb shell input tap 655 100
ping -n 2 127.1 >nul
@Rem 点击二维码设置
adb shell input tap 365 530
ping -n 2 127.1 >nul
@Rem 点击右上角属性
adb shell input tap 655 100
ping -n 2 127.1 >nul
@Rem 点击保存到手机
adb shell input tap 320 1140
ping -n 2 127.1 >nul
@Rem 点击返回
adb shell input tap 50 100
ping -n 2 127.1 >nul
@Rem 点击返回
adb shell input tap 50 100
ping -n 2 127.1 >nul
@Rem 点击返回
adb shell input tap 50 100
ping -n 2 127.1 >nul)
pause>nul